package com.minio.project.Service;

import com.minio.project.Entity.Img;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;

/**
 * @author ASUS
 * @description 针对表【product_img】的数据库操作Service
 * @createDate 2025-04-18 15:00:26
 */
public interface ImgService extends IService<Img> {
    /**
     * 上传图片
     *
     * @param file
     * @return
     */
    String uploadImage(MultipartFile file);

    /**
     * 删除图片
     *
     * @param name
     * @return
     */
    void deleteImage(String name);
}
